package com.example.administrator.orchardeveryday.dao;

import com.example.administrator.orchardeveryday.bean.dbbean.Goods;
import com.example.administrator.orchardeveryday.bean.dbbean.User;

import java.util.ArrayList;

/**
 * Created by Administrator on 15-10-25.
 */
public interface IDao {
    public void save(User user);
    public void save(Goods goods);
    public User findUser(long id);
    public ArrayList<Goods> findGoods(long id);
    public void deleteAll();
    public void update(Goods goods);
}
